<template>
  <div class="line-parent">
    <div
      ref="echartsRef"
      :style="{width:lineWidth+'px',height:lineHeight+'px'}"
      class="line-item"
    />
    <!-- TODO:这里是表格 -->
    <div class="line-table" :style="{width:lineWidth+'px'}">
      <slot name="table"></slot>
    </div>
  </div>
</template>

<script src="./LineIndex.js"/>

<style>
.line-item {
  margin: 0 auto;
  padding-top: 20px;
}

.line-table {
  margin: 0 auto;
  padding-top: 20px;
  padding-bottom: 40px;
}
</style>
